package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 业务数据转移DTO
 *
 * @author wulg
 * @date 2021-10-21
 **/
@Data
public class BusinessDataMoveDTO implements Serializable {

    private static final long serialVersionUID = 6623499033540628122L;

    /**
     * 源用户ID
     */
    @NotNull(message = "源用户-不能为空")
    private Long sourceUserId;

    /**
     * 目标用户ID
     */
    @NotNull(message = "目标用户-不能为空")
    private Long targetUserId;

    /**
     * 业务类型-JSON串：详见BusinessTypeEnum
     */
    @NotBlank(message = "业务类型-未选择[可多选]")
    private String businessTypes;
}
